﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace MediaPlayerSatVer
{
    /// <summary>
    /// Interaction logic for OutputDataDialog.xaml
    /// </summary>
    public partial class OutputDataDialog : Window
    {
        public OutputDataDialog(string message)
        {
            InitializeComponent();

            windowTitle.Text = "Message";
            outputText.Text = message;
        }

        public OutputDataDialog(string title, string message)
        {
            InitializeComponent();

            windowTitle.Text = title;
            outputText.Text = message;
        }

        private void btnOK_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
        }

        private void Border_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            this.DragMove();
        }
    }
}
